package com.shangguosha.core.lifecycle;

/**
 * 生命周期状态枚举
 */
public enum LifecycleState {
    CREATED("已创建"),    // 已创建
    ACTIVE("激活中"),     // 激活中
    PAUSED("暂停"),      // 暂停
    DESTROYED("已销毁"); // 已销毁
    
    private final String description;
    
    LifecycleState(String description) {
        this.description = description;
    }
    
    public String getDescription() {
        return description;
    }
    
    @Override
    public String toString() {
        return description;
    }
}